package com.joysuch.wwyt.risk.repository;

import com.joysuch.wwyt.risk.entity.RiskEvalPlanRemind;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * @Author ZhangDong
 * @Date 2020/7/17 14:02
 */
public interface RiskEvalPlanRemindDao extends JpaRepository<RiskEvalPlanRemind, Long>, JpaSpecificationExecutor<RiskEvalPlanRemind> {

    RiskEvalPlanRemind findFirstByRiskEvalTypeAndState(Integer riskEvalType, Integer state);
}
